package com.zf.wms.purview.service.Ipml;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zf.wms.purview.dao.PurviewMapper;
import com.zf.wms.purview.entity.Purview;
import com.zf.wms.purview.service.PurviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author：sl
 * Date：2019-11-05 14:15
 * Description：<描述>
 */
@Service
public class PurviewServiceImpl extends ServiceImpl<PurviewMapper, Purview> implements PurviewService {


    @Autowired
    private PurviewMapper purviewMapper;


    @Override
    public List<Purview> allList() {
        List<Purview> list = purviewMapper.selectAllPurview(0);
        return list;
    }
}
